/*
 * sorter.hpp
 *
 *  Created on: Apr 15, 2013
 *      Author: nick
 */

#ifndef SORTER_HPP_
#define SORTER_HPP_

#include <algorithm>

#include "../hpp/logger.hpp"

typedef int DataType;

class Sorter {
public:
	virtual void sort(std::vector<DataType> & data) = 0;
	virtual ~Sorter() {}
};

class StandardSorter : public Sorter {
public:
	virtual void sort(std::vector<DataType> & data) {
		std::sort(data.begin(), data.end());
	}
	virtual ~StandardSorter() {}
};

#endif /* SORTER_HPP_ */
